#ifndef __UIBALANCEDOWNBARWND__H__
#define __UIBALANCEDOWNBARWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagBalanceDownBarWndBtnDisplay
{
	BALANCE_DWONBAR_WND_LAST = 0,
	BALANCE_DWONBAR_WND_CONTENT,
	BALANCE_DWONBAR_WND_NEXT,
	BALANCE_DWONBAR_WND_ACCENT_SWITCH,
	MAX_BALANCE_DWONBAR_WND_BTN,
} BALANCE_DOWNBAR_WND_BTN;

class UiBalanceDownBarWnd :
	public UiWin
{
public:
	UiBalanceDownBarWnd();
	~UiBalanceDownBarWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnDownBarWnd[MAX_BALANCE_DWONBAR_WND_BTN];
	ImagingHelper	*m_DownBarWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;

};

#endif